-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
[9.0][NEW] sale_timesheet_invoice_description: New module #154
[9.0][NEW] sale_timesheet_invoice_description: New module #154
Conversation
Bugs are tracked on `GitHub Issues <https://github.com/OCA/ | ||
account-invoicing/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here <https://github.com/OCA/ |
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.
You can simplify this part (check the new template)
non blocking remark. other than that 👍 |
|
||
To use this module, you need to: | ||
|
||
#. Go to *Sales -> Sale Orders* and create a new Sale Order. |
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.
s/Sale Orders/Sales Orders (2 times)
_inherit = 'sale.order' | ||
|
||
timesheet_invoice_description = fields.Selection( | ||
'_get_timesheet_invoice_description', default='111') |
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.
We have said that the default should be put at company level and accessible from the Sales > Settings menu.
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.
This is still not changed
@@ -14,6 +14,8 @@ Usage | |||
|
|||
To use this module, you need to: | |||
|
|||
#. Go to *Sales -> Configuration -> Settings -> Quotations & Sales* and set |
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.
This paragraph should go in the Configuration section and include the word "Default".
@pedrobaeza changes done |
@api.model | ||
def _get_timesheet_invoice_description(self): | ||
return [ | ||
('000', _('')), |
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.
Put 'None' as label
…d when previous invoices exists
@pedrobaeza changes done |
Please fix module tests (probably you need to set a value for "invoice description" in the test sales order). |
Tested in runbot 👍 |
Please, don't merge yet. |
Forget my last comment. I didn't want write it in this pull request. |
👍 |
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
[ADD] sale_timesheet_invoice_description: New module
This PR replace OCA/sale-workflow#298