Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17.0 mig l10n ec delivery note #58

Open
wants to merge 9 commits into
base: 17.0
Choose a base branch
from

Conversation

jorge-luis-dev
Copy link
Contributor

Migration of Delivery Note module

@celm1990
Copy link
Contributor

/ocabot migration l10n_ec_delivery_note

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Dec 26, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 26, 2023
4 tasks
@jorge-luis-dev jorge-luis-dev marked this pull request as ready for review April 11, 2024 00:44
@jorge-luis-dev jorge-luis-dev force-pushed the 17.0-mig-l10n_ec_delivery_note branch 2 times, most recently from 998ff41 to a870b10 Compare April 11, 2024 01:56
@celm1990
Copy link
Contributor

@jorge-luis-dev please rebase your branch to fixes issues relates to taxes

@sabiduriainformatica
Copy link

Dear Jose Luis

In a delivery note made from sales, the invoice field should be set with the invoice number or allow this invoice number to be selected before authorizing said guide in the SRI.

image

@franklingerman
Copy link

Dear Jose Luis
The field should be set with the invoice number or allow this invoice number to be selected before authorizing said guide in the SRI.

@celm1990
Copy link
Contributor

@jorge-luis-dev
Before the migration process, the user could fill the invoice_id field into wizard at this line


And is used here
"invoice_id": self.env.context.get("invoice_id", False),

However, in the migration process, this wizard is no longer used, so the 'invoice_id' field is never filled in the delivery note. Please review this. If the sale order has an invoice, pass this record to the delivery note.

NOTE: @sabiduriainformatica @franklingerman This depends on the invoice policy from the product's configuration. You can deliver before creating the invoice and create the invoice later, so this scenario is complicated.

NOTE 2: Picking does not have a direct relation with the invoice, so we will only try to obtain the invoice from the sale order. Other alternative is add dependency to this module https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_invoice_link what do you think?

Copy link

@eduxworks eduxworks left a comment

Choose a reason for hiding this comment

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

Lo he probado me parece genial tu aporte.

Copy link
Contributor

@rvjaraj rvjaraj left a comment

Choose a reason for hiding this comment

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

Probado y Aprobado

Como sugerencia agregar el motivo en el modelo stock.picking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants