Skip to content

Imp/invoice creation#150

Closed
yk2kus wants to merge 2 commits into
OCA:10.0from
thinkopensolutions:IMP/Invoice_creation
Closed

Imp/invoice creation#150
yk2kus wants to merge 2 commits into
OCA:10.0from
thinkopensolutions:IMP/Invoice_creation

Conversation

@yk2kus

@yk2kus yk2kus commented Mar 12, 2018

Copy link
Copy Markdown

Do not populate 'reference' in an invoice from contracts while creating invoices because this field is labeled as "Vendor Reference" targeted only for supplier invoices (not visible in customer invoices) while contracts are created for customers.
Update origin with the additional information name along with code [field used as source document]
'origin': '[' + self.code +'] ' + self.name if self.code else self.name,

)
invoice = self.env['account.invoice'].new({
'reference': self.code,
# 'reference': self.code,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to leave the reference

@pedrobaeza

Copy link
Copy Markdown
Member

Any news on this?

@levkar

levkar commented Mar 30, 2018

Copy link
Copy Markdown
Contributor

why not have the reference if we can?

@rafaelbn rafaelbn added this to the 10.0 milestone Jun 29, 2018
@rafaelbn

Copy link
Copy Markdown
Member

This is dicussed in #122 but it's right whats @yk2kus says. This can be considered as a BUG

@rafaelbn rafaelbn added the bug label Jun 29, 2018
@rafaelbn rafaelbn requested a review from carlosdauden June 29, 2018 15:52
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 24, 2021
@github-actions github-actions Bot closed this Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug needs review stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants