- Aug 26, 2016
-
-
Pierre Masereel authored
It was impossible to pass from an archive to another because of the keep_query in the url generated that set multiple times the same argument in the url. Removing this allow to have a 'date_begin' and a 'date_end' corresponding to the selected archive.
-
Thibault Delavallée authored
This reverts commit c34972a2. Please check what you are doing or stop committing in official branches.
-
Jeremy Kersten authored
Add label for usability, didn't understand what was the date field e.g. Fix bug when no priority, 'priority' field was not submitted -> save function crash Fix bug textarea, if title_action is False, not textarea, so no field title_action submitted -> save function crash After this commit, we can click on save and it should work... No priority or 0 => 0 No title or "" => ""
-
Jeremy Kersten authored
/mail/view?model=blog.post&res_id=1 crash in 'res_id': self.id AttributeError: 'blog.post' object has no attribute '_ids'
-
Jeremy Kersten authored
Feedback: 10 is very few
-
Renato Lima authored
Account uses this field from purchase module, but account don't depend of purchase. Already done for sale_ok previously. See #13268 #315 #13271
-
Fabien Pinckaers authored
-
Fabien Pinckaers authored
-
Fabien Pinckaers authored
-
Fabien Pinckaers authored
-
Fabien Pinckaers authored
-
Josse Colpaert authored
-
Josse Colpaert authored
[FIX] mrp: use unit_factor when generating lots in work orders and make sure to generate lots when necessary When (re)generating the stock.move.lots in the workorder, it should use the unit_factor on the move like everywhere else. This makes sure we do well with the explosion of phantom boms too. It is also important that if there is no operation_id given explicitly in the "consumed in operation" on the bom line, that it still generates the necessary stock.move.lots in the last work order. Also, in the work order it is better to set the quantities done already. That way we don't forget to consume them.
-
Dhaval Suthar authored
* When an issue was set in stage that has a rating email template and that the project was set on 'rating when changing state', there was a warning with Failed to render template. There was a small error in a condition that fired exception.
-
- Aug 25, 2016
-
-
Pierre Masereel authored
Due to a syntax error in the domain of product attachement a traceback was given.
-
Yannick Tivisse authored
Merge branch 'saas-12-expense-fixes-yti' into saas-12
-
Yannick Tivisse authored
Review the subtypes =================== - Add a subtype for the paid expenses - Correct subtypes wording Prevent expense report for several employees ============================================ - Can add lines from every employee, leading to account issues (payable / receivable) Raise an error if you try to report several expenses for different employees Don't track onchanges on journal_id =================================== - Expense Sheet, click on Post Journal Entries: you have 2 produced messages, and one is strange (Journal Entry: * 1 ?) Remove useless message on chatter ================================= - Remove the message to say that the expense report has been validated by ... It's redundant as the visibility tracker already logs this change Remove unused method ==================== - 'refuse_expense_sheets' is declared but never used Log a link to the payment on chatter ==================================== Expense Sheet, click on Register Payment: you have a message containing the payment name (SUPP.OUT/2016/0001). Add a link to the form view. Expense duplication =================== Do not copy 'sheet_id' on duplication. It's wrong and has as secondary effect to duplicate the state too. Expense Report tree view ======================== Display correctly the widget monetary
-
Yannick Tivisse authored
New feature in mail module ========================== Currently, an email can be sent to an alias from: - Everyone - Authenticated Partners - Followers This commit is intended to add another category: Employees The main purpose of this new feature is to allow employees to send an email to an 'expense' alias in order to create automatically their expenses with their mobile phones. Use this new mechanism in hr_expense ==================================== Currenlty, we're overriding message_new to make a security check and create an expense if the sender is an employee or bounce otherwise, which is not the correct way to achieve this. A better way is to use the alias mechanism now that it has been extended to employees too. Don't hardcode email_from ========================= The email_from of the bounce email is hardcoded to "help@odoo.com". I am sure they will be happy to receive all answers from any odoo instance Review the bounce email content =============================== content: Your expense has not been created because your email address is not set on an employee or on a employee's user. Configure your employee's information correctly and try again. -> this is a message for the admin, not an employee or anyone else Now the content is generical for aliase defined for employees.
-
Yannick Tivisse authored
This is simply useless and the open door to spam. The inital goal for this option was to be able to create an expense from any email in the onboarding. It was even commented with 'Don't use this in production' which is another point to remove it. It is wrong because: - In a saas instance, the employee email = the admin email = the email you entered while filling the form. So, if the user sends an email with his phone, the expense will be created. If the user sends an email with another email address then the expense won't be created but he'll receive an automated email explaining that he should register his email address either on it's user information or on it's employee information (professional on employee, private on user for example). - With this modified behavior, if no email address is matching the sender email address the system will create an expense with the-first-employee-linked-to-an-user as employee, which is totally wrong. Furthermore, the guy that sent the email will not see the created expense because it hasn't been assigned to him. - Everyone can create expenses, I don't even imagine how fast we can overload the database with a huge pile of crap
-
Yannick Tivisse authored
-
- Aug 24, 2016
-
-
Christophe Simonis authored
-
qsm-odoo authored
The previous implementation took the parent of the element to begin the check, which was wrong when the initial element was the html root. This commit changes the method to a recursive implementation, which is clearer.
-
Jeremy Kersten authored
-
Joren Van Onder authored
From website_payment to website_portal_sale.
-
- Aug 23, 2016
-
-
Christophe Simonis authored
This function attempted to deduplicate states with same code in order to force the unique constraint creation. This is the job of a migration script and should not be execute at each update. Moreover, the current implementation is flawed and may lead to crash in some situations.
-
- Aug 22, 2016
-
-
Martin Trigaux authored
1. export saas-12 sources terms into .pot files 2. msgcat odoo-9 .po & odoo-master .po into saas-12 .po files 3. msgmerge saas-12 .po with saas-12 .pot files to keep relevant terms
-
- Aug 20, 2016
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
- Aug 19, 2016
-
-
Josse Colpaert authored
When calculating the stock quantity fields, we can put a from/to_date in the context. This should work in the past too. We see the to_date as the date in the past to calculate and calculate backwards from the stock now to the date in the past. This is done by doing an extra read_group on the stock moves, with a similar domain except that it takes the moves done from date_to.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
Do not dumbly parse sql queries by splitting on `;`. PostgreSQL will do a better job than us...
-
Aristobulo Meneses authored
This commit closes #13223 This commit closes #13225
-
Jeremy Kersten authored
When you backup 3 dbs with the database manager, you had 3 times the warning. Underscore is not loaded, so _.once not available. This commit closes #13173
-
Martin Trigaux authored
This commit does not fix any bug in odoo/odoo but helps fixing #12788 Needed for odoo/enterprise#433
-
Martin Trigaux authored
1. export saas-11 sources terms into .pot files 2. msgcat odoo-9 .po & odoo-master .po into saas-11 .po files 3. msgmerge saas-11 .po with saas-11 .pot files to keep relevant terms
-
Christophe Simonis authored
-
Christophe Simonis authored
-