Daily updates from Odoo
Navigate
Branch
Friday, April 24, 2020
9 changes
Enhancements to existing features
Commission entries now include the number of months over which the expense will be deferred. This gives accountants clearer context directly in the description, making review and reconciliation easier.
Original PR description
See: https://i.imgur.com/hLYUYmB.png
Code cleanup and technical improvements
The marketing automation module was reorganized by splitting large internal files into smaller, more focused parts. This does not introduce a visible feature change, but it makes future improvements and maintenance easier and safer.
Original PR description
Purpose is to split big python files holding campaign + activity models and participant + trace models. Even if it create some noise it is easier for future improvements and model understanding. LINKS Prepares Task ID 2238597 (mail and mass mailing notification models cleaning)
Miscellaneous changes
The test was relying on the fact that there is en_US translations that are kept when duplicating a view. This is a bit fragile and was broken during bug fix odoo/odoo#46946 (which created empty translations by default) Instead activate a language and make real translations Note that this change of test still works without merging odoo/odoo#46946. Forward-Port-Of: odoo/enterprise#10182
Original PR description
The test was relying on the fact that there is en_US translations that are kept when duplicating a view. This is a bit fragile and was broken during bug fix odoo/odoo#46946 (which created empty translations by default) Instead activate a language and make real translations Note that this change of test still works without merging odoo/odoo#46946. Forward-Port-Of: odoo/enterprise#10182
…SDD mandate If a mandate was already validated, we should not be able to delete it, as this causes a traceback in case we try to generate XML file for SDD payments as the SDD mandate is mandatory. opw-2234200 Forward-Port-Of: odoo/enterprise#10098 Forward-Port-Of: odoo/enterprise#9963
Original PR description
…SDD mandate If a mandate was already validated, we should not be able to delete it, as this causes a traceback in case we try to generate XML file for SDD payments as the SDD mandate is mandatory. opw-2234200 Forward-Port-Of: odoo/enterprise#10098 Forward-Port-Of: odoo/enterprise#9963
Before this commit, it was possible to link folders to accounting journal that were related to `account.moves` that are not invoices. This commit expands the coverage of the journal linking settings to all relevant `account.move`. Additionally a domain to the journal is added excluding types of `bank` and `cash` because their attachment is not directly attached to their record. task-2146838 Forward-Port-Of: odoo/enterprise#10141
Original PR description
Before this commit, it was possible to link folders to accounting journal that were related to `account.moves` that are not invoices. This commit expands the coverage of the journal linking settings to all relevant `account.move`. Additionally a domain to the journal is added excluding types of `bank` and `cash` because their attachment is not directly attached to their record. task-2146838 Forward-Port-Of: odoo/enterprise#10141
Steps to reproduce: - install sign - upload a pdf and add a text field - fill in the document with arabic numerals or cyrillic characters Previous behavior: characters are displayed as black boxes Current behavior: When adding the appropriate `ir.config_parameter`, any other font can be selected from the `font` folder. opw-2205549 opw-2209234 opw-2207618 Forward-Port-Of: odoo/enterprise#10173 Forward-Port-Of: odoo/enterprise#9996
Original PR description
Steps to reproduce: - install sign - upload a pdf and add a text field - fill in the document with arabic numerals or cyrillic characters Previous behavior: characters are displayed as black boxes Current behavior: When adding the appropriate `ir.config_parameter`, any other font can be selected from the `font` folder. opw-2205549 opw-2209234 opw-2207618 Forward-Port-Of: odoo/enterprise#10173 Forward-Port-Of: odoo/enterprise#9996
### Issue - Install Sign & Contacts - Send a document to sereval person (I didn't find how so I fetched the customer db) - Resise your window to have only the header in your scope The iframe with the document to sign disappears ### Cause I guess this is because there is a volontary "overflow: none" on the whole page and overflows are allowed only on the elements that we choose. So when the header is only in the view, the general overflow is hidden.
Original PR description
### Issue - Install Sign & Contacts - Send a document to sereval person (I didn't find how so I fetched the customer db) - Resise your window to have only the header in your scope The iframe with the document to sign disappears ### Cause I guess this is because there is a volontary "overflow: none" on the whole page and overflows are allowed only on the elements that we choose. So when the header is only in the view, the general overflow is hidden. ### Solution According to EST (on the ticket), they had a similar issue on Lunch app and they just limited the size of the header in order to always have both elements in the scope **OPW-2227606** Forward-Port-Of: odoo/enterprise#10146
Forward-Port-Of: odoo/enterprise#10087
Original PR description
Forward-Port-Of: odoo/enterprise#10087
### Issue On firefox only - Have an outgoing mail server - Install Sign - Create a simple template (text, checkbox, signature) - Send it to anybody - Fill the document and click on "view document" The content is not loaded ### Cause It seems to be a cache issue with firefox and ajax calls ### Solution Doing the ajax call (which gets the PDF) with cache disabled **OPW-2214152** Forward-Port-Of: odoo/enterprise#10151 Forward-Port-Of: odoo/enterprise#10138
Original PR description
### Issue On firefox only - Have an outgoing mail server - Install Sign - Create a simple template (text, checkbox, signature) - Send it to anybody - Fill the document and click on "view document" The content is not loaded ### Cause It seems to be a cache issue with firefox and ajax calls ### Solution Doing the ajax call (which gets the PDF) with cache disabled **OPW-2214152** Forward-Port-Of: odoo/enterprise#10151 Forward-Port-Of: odoo/enterprise#10138