Skip to content

[16.0][IMP] account_invoice_margin: set new option 'optional' hide to margin fields on tree views.#267

Open
legalsylvain wants to merge 3 commits into
OCA:16.0from
grap:16.0-IMP-account_invoice_margin-optional-margin-fields-SLG
Open

[16.0][IMP] account_invoice_margin: set new option 'optional' hide to margin fields on tree views.#267
legalsylvain wants to merge 3 commits into
OCA:16.0from
grap:16.0-IMP-account_invoice_margin-optional-margin-fields-SLG

Conversation

@legalsylvain

@legalsylvain legalsylvain commented May 18, 2026

Copy link
Copy Markdown
Contributor

Rational:

  • the margin fields are usefull to be in the tree. However, it is not usefull for all user in a day to day basis. put optional='hide' to make the invoice and invoice lines list tree view lighter.

  • prevent to display useless fields on account.move.lines (when not related to out invoices)

  • do not display margin in move tree views, if there are not out invoices

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @sergio-teruel,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added mod:account_invoice_margin Module account_invoice_margin series:16.0 labels May 18, 2026
@pedrobaeza pedrobaeza changed the title [IMP] account_invoice_margin: set new option 'optional' hide to margin fields on tree views. [16.0][IMP] account_invoice_margin: set new option 'optional' hide to margin fields on tree views. May 19, 2026
@pedrobaeza pedrobaeza added this to the 16.0 milestone May 19, 2026
…n fields on tree views.

Rational: this field is usefull to be in the tree. However, it is not usefull for all user in a day to day basis.
put optional='hide' to make the invoice and invoice lines list tree view lighter.
@legalsylvain legalsylvain force-pushed the 16.0-IMP-account_invoice_margin-optional-margin-fields-SLG branch from 5b28936 to 8fe4515 Compare July 7, 2026 14:49
@legalsylvain

Copy link
Copy Markdown
Contributor Author

@@sergio-teruel could you take a look on this one ?

thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_invoice_margin Module account_invoice_margin series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants