-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
[16.0] l10n_it_fatturapa_in: forward port of #3475 #3716
Conversation
417a2d4
to
d9be84c
Compare
risolve #2699 per la 16 giusto? |
d9be84c
to
8bb5e59
Compare
devo essere onesto, non mi è chiaro, vedo che la 2699 viene citata nella 3475 da cui sono partito ma non sono sicuro: mi manca sicuramente del contesto. Probabilmente altri sapranno risponderti con più precisione. |
@@ -45,7 +53,7 @@ | |||
attrs="{'invisible': [('invoices_number', '!=', 0), ('xml_supplier_id', '!=', False), ('invoices_date', '!=', False), ('linked_invoice_id_xml', '!=', False)]}" | |||
/> | |||
</div> | |||
<field name="name" invisible="1" /> | |||
<field name="name" /> |
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.
I had to remove 'invisible="1"' otherwise a lot of tests would fail because of "can't write on invisible field name".
The error is raised from https://github.com/odoo/odoo/blob/bde8ac75055d9fb53fb8b989a01f3e865afdfb27/odoo/tests/form.py#L330 which prevents writing invisible/readonly fields to make tests consistent with web UI.
The setting of the name field is performed by fatturapa_common.py create_attachment() method.
@are-agilebg fai rebase o preferisci che faccia io? In modo da includere #3718 |
cfb49c6
to
029448e
Compare
fatto 👍 |
@are-agilebg pre-commit è ancora 🔴 per via di https://github.com/OCA/l10n-italy/actions/runs/6880609018/job/18715191105?pr=3716#step:7:116 Puoi correggere? Grazie. |
029448e
to
aea3aa9
Compare
aea3aa9
to
985b6f5
Compare
@are-agilebg ok per te chiudere? |
Forward port of #3475.