Compare commits
No commits in common. "19.0" and "main" have entirely different histories.
15
.gitignore
vendored
15
.gitignore
vendored
@ -1,15 +0,0 @@
|
||||
# Python
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Editor
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
# Odoo
|
||||
*.pot
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
'name': 'Purchase Bill Sync',
|
||||
'version': '19.0.1.0.0',
|
||||
'version': '17.0.1.0.0',
|
||||
'category': 'Purchases',
|
||||
'summary': 'Sync Vendor Bills with Purchase Orders',
|
||||
'description': """
|
||||
|
||||
Binary file not shown.
@ -160,7 +160,7 @@ class PurchaseBillSyncWizard(models.TransientModel):
|
||||
# We use SQL because create_date is read-only in ORM
|
||||
if stock_move.date:
|
||||
new_date = stock_move.date + timedelta(seconds=1)
|
||||
self.env.cr.execute("UPDATE stock_valuation_layer SET create_date = %s WHERE id = %s", (new_date, svl.id))
|
||||
self._cr.execute("UPDATE stock_valuation_layer SET create_date = %s WHERE id = %s", (new_date, svl.id))
|
||||
|
||||
# AVCO/FIFO Logic: Update Standard Price and Distribute Value to Layers
|
||||
product = stock_move.product_id
|
||||
|
||||
@ -17,12 +17,12 @@
|
||||
<notebook>
|
||||
<page string="Discrepancies">
|
||||
<field name="line_ids">
|
||||
<list editable="bottom" create="0" delete="0">
|
||||
<tree editable="bottom" create="0" delete="0">
|
||||
<field name="selected"/>
|
||||
<field name="move_id"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="discrepancy_details"/>
|
||||
</list>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
</notebook>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user