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
[FIX] account,l10n_{au,in,gcc_invoice}: distinguish credit note titles #106692
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small detail but we might as well be thorough/consistent 😉
<span t-if="o.move_type == 'out_refund' and o.state == 'draft'"> | ||
إشعار خصم المسودة | ||
</span> | ||
<span t-if="o.move_type == 'out_refund' and o.state == 'cancel'"> | ||
إشعار خصم ملغاة | ||
</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<span t-if="o.move_type == 'out_refund' and o.state == 'draft'"> | |
إشعار خصم المسودة | |
</span> | |
<span t-if="o.move_type == 'out_refund' and o.state == 'cancel'"> | |
إشعار خصم ملغاة | |
</span> | |
<span t-elif="o.move_type == 'out_refund' and o.state == 'draft'"> | |
إشعار خصم المسودة | |
</span> | |
<span t-elif="o.move_type == 'out_refund' and o.state == 'cancel'"> | |
إشعار خصم ملغاة | |
</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@epictete Absolutely. Thought I'd done it, but Monday brain ... 😄 There you go!
Currently we distinguish customer invoice titles based on the state they are in: draft, posted or cancelled. For the customer credit notes we did not have this dinstinction. This fix makes sure that the title of a credit note is also adapted based on its state. [task-3067251](https://www.odoo.com/web#id=3067251&cids=1&menu_id=4720&action=4043&model=project.task&view_type=form)
dc2624e
to
a58b979
Compare
@robodoo r+ |
@dylankiss @epictete linked pull request(s) odoo/enterprise#34464 not ready. Linked PRs are not staged until all of them are ready. |
Currently we distinguish customer invoice titles based on the state they are in: draft, posted or cancelled. For the customer credit notes we did not have this dinstinction. This fix makes sure that the title of a credit note is also adapted based on its state. [task-3067251](https://www.odoo.com/web#id=3067251&cids=1&menu_id=4720&action=4043&model=project.task&view_type=form) closes #106692 Related: odoo/enterprise#34464 Signed-off-by: John Laterre (jol) <jol@odoo.com>
Currently we distinguish customer invoice titles based on the state they are in: draft, posted or cancelled. For the customer credit notes we did not have this dinstinction.
This fix makes sure that the title of a credit note is also adapted based on its state.
task-3067251
Retarget of #106262
Related: https://github.com/odoo/enterprise/pull/34464
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr