Skip to content

[ADD] Zero_quantity_account_move: added zero quantity for invoice lines#1312

Draft
moahi-odoo wants to merge 1 commit into
odoo:19.0from
odoo-dev:19.0-zero-quantity-account-move-moahi
Draft

[ADD] Zero_quantity_account_move: added zero quantity for invoice lines#1312
moahi-odoo wants to merge 1 commit into
odoo:19.0from
odoo-dev:19.0-zero-quantity-account-move-moahi

Conversation

@moahi-odoo
Copy link
Copy Markdown

Added a boolean field 'zero_move'(Is Zero Quantity) on account move line.

For rejected or scrap goods, quantity should be sent as 0 even if a credit note is created.

  • Added zero_move field in account.move.line
  • Overridden EDI method to send quantity as 0 when ticked
  • Added test cases for validation

@robodoo
Copy link
Copy Markdown

robodoo commented Jun 1, 2026

Pull request status dashboard

Added a boolean field 'zero_move'(Is Zero Quantity) on account move line.

For rejected or scrap goods, quantity should be sent as 0 even if a credit note
is created.

* Added zero_move field in account.move.line
* Overridden EDI method to send quantity as 0 when ticked
* Added test cases for validation
@moahi-odoo moahi-odoo force-pushed the 19.0-zero-quantity-account-move-moahi branch from 4ee2c72 to c7487b9 Compare June 1, 2026 10:15
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.

2 participants